package com.framework.loippi.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.framework.loippi.dao.SystemMessageDao;
import com.framework.loippi.entity.SystemMessage;
import com.framework.loippi.service.SystemMessageService;
import java.util.List;
/**
 * SERVICE - SystemMessage(消息表)
 * 
 * @author wmj
 * @version 2.0
 */
@Service
public class SystemMessageServiceImpl extends GenericServiceImpl<SystemMessage, Long> implements SystemMessageService {
	
	@Autowired
	private SystemMessageDao systemMessageDao;
	
	
	@Autowired
	public void setGenericDao() {
		super.setGenericDao(systemMessageDao);
	}

	public List<SystemMessage> findListByPage(Object parameter){
		return systemMessageDao.findListByPage(parameter);
	}

	public Long deletes(Object parameter){
		return systemMessageDao.deletes( parameter);
	}

	
}
